PROJECT(astng)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../;${CMAKE_CURRENT_SOURCE_DIR}/../grammar)

SET(astng_srcs
    ModulesMgr.cpp
    ModulesMgr.h
    CramBuilder.cpp
    CramBuilder.h
    BinaryModule.h
    BinaryModule.cpp
    object.h
    CacheMap.h
    CacheMap.cpp
    RestoreVisitor.h
    RestoreVisitor.cpp
    Scopes/Scope.cpp
    Scopes/Scope.h
    Scopes/ModuleScope.cpp
    Scopes/ModuleScope.h
    Scopes/FunctionScope.cpp
    Scopes/FunctionScope.h
    Scopes/ClassScope.cpp
    Scopes/ClassScope.h
)

add_library(astng ${astng_srcs})

